<?php
require_once 'common.inc.php';
//!in_array('2',$larr)&&adminmsg('你没有被赋予操作该项的权限！');
error_reporting(E_ALL);
$matches=parse_url($_SERVER['HTTP_REFERER']);
//$url=$matches['scheme'].'://'.$matches['host'].'/';

if('list'==$action)
{
        //读取文件内容成为一个变量
		$hotfile="../push/filter.php";//字典文件
		$dhtfile="../push/otherconfig.php";//字典文件
		$trafile="../push/traconfig.php";//字典文件
		$webfile="../push/webconfig.php";//字典文件

		$hotstr = file_get_contents($hotfile);
		$dhtstr = file_get_contents($dhtfile);
		$trastr = file_get_contents($trafile);
		$webstr = file_get_contents($webfile);
		echo "<!--";
		echo $webstr;
		echo "-->";
		if($hotstr=='1')
		{	$hstr=" selected=\"selected\"";
			$hstr1=" ";
		}
		else
		{	$hstr=" ";
			$hstr1="  selected=\"selected\"";
		}	
		if($dhtstr=='1')
		{	$dstr=" selected=\"selected\"";
			$dstr1=" ";
		}
		else
		{	$dstr=" ";
			$dstr1="  selected=\"selected\"";
		}
					
        if($trastr=='1')
		{	$tratr=" selected=\"selected\"";
			$tratr1=" ";
		}
		else
		{	$tratr=" ";
			$tratr1="  selected=\"selected\"";
		}	
		
		if($webstr=='3')
		{	$wstr=" selected=\"selected\"";
			$wstr1=" ";
		}
		else
		{	$wstr=" ";
			$wstr1="  selected=\"selected\"";
		}
		include_once MCC_ROOT.'/templates/msystem/setturn.htm';
}

?>
